home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / DELPHI32 / GRIDS / MSTRGRID / MSTRLIST.TXT < prev   
Text File  |  1996-06-17  |  3KB  |  70 lines

  1. mstrlist;
  2.  
  3.  Version 1.0,  10.6.1996,  Freeware, Albrecht Mengel, mengel@stat-econ.uni-kiel.de
  4.  
  5. This is a sister of TStringList with some new sorting properties:
  6.  
  7. property KeyType:(soString,soStringCaseSensitive,soNumeric)
  8.    This is the kind, how the keys (and cells) are compared.
  9.    If you work with soNumeric, all non numbers get the same value 0.
  10.       As these zero values would flip in random order a (case insensitive) string sort
  11.       is performed after. So, first come the negatives, then the strings, and thereafter
  12.       the positives.
  13. property KeyPos:Integer;
  14. property KeyLen:Integer;
  15.    Here you may define, which substring of the cells is used to comparision.
  16.    (Default is KeyPos=1 & KeyLen=MaxInt)
  17. property ScipFirst:Integer;
  18.    Here you can exclude some first entries from sorting.
  19.    (It is used by mStringGrid for excluding fixed rows/cols)
  20.  
  21. When you set sorting to true then the sorting is done with the new properties.
  22. The default settings result in the same sorting as TStringList does.
  23.  
  24. TmStrList is a copy of TStringList found in \source\vcl\grids.pas with some additional
  25. entries.
  26. I had a problem with compiling TStringList.Changed and TStringList.Changing:
  27. They call the property FUpdateCount which I could not reach:
  28.  
  29. procedure TmStrList.Changed;
  30. begin
  31.   if {!(FUpdateCount = 0) and} Assigned(FOnChange) then FOnChange(Self);
  32. end;
  33.  
  34. procedure TmStrList.Changing;
  35.   ... the same ...
  36.  
  37. Is there anyone to fix that problem???
  38.  
  39. Software development:
  40.  
  41. Programming consumes time, and programmed components save time.
  42. If you like my components feel free to send me some acknowledgment.
  43. I accept post cards of your town, money or cheques (2$ up to 20$).
  44. This is a motivation for me to continue developing for you.
  45.  
  46. If you have some ideas to improve mStrList, mStrGrid or any other component
  47. send me a message.
  48.  
  49. The mStrList is copyright (C) 1996, by Albrecht Mengel. You may give copies to
  50. others by copying the original, unmodified zip file. You may use this component
  51. in your own projects free of charge as long as those projects are public domain,
  52. freeware or shareware project.
  53.  
  54. The author of mStrList (A. Mengel) makes no warranty of any kind,
  55. expressed or implied, including without limitation any warranties of merchantability
  56. and/or fitness for a particular purpose. In no event will the author be liable to you
  57. for any additional damages, including any lost profits, lost savings, or other
  58. incidental or consequential damages arising from the use of, or inability to use,
  59. this software and its accompanying documentation, even if the author has been advised
  60. of the possibility of such damages.
  61.  
  62. Albrecht Mengel, University of Kiel, Germany
  63. Institute for Statistics & Economics
  64. Olshausenstrasse 40-60,
  65. D-24098 Kiel
  66. Tel. +49-431-880-2424
  67. Fax. +49-431-880-2673
  68. Email: mengel@stat-econ.uni-kiel.de
  69. http://www.stat-econ.uni-kiel.de/pers/mengel.htm
  70.